﻿using DO.DreamOnTrader.Quote;

namespace DO.DreamOnTrader.Indicator
{
	public interface IIndicator
	{
		float getValue();

		float getValue(Tick tick);

		float getValue(KBar kbar);

		/// <summary>
		/// 回傳指標的識別標籤
		/// </summary>
		/// <returns></returns>
		string Label();

		/// <summary>
		/// 回傳指標的識別標籤及值
		/// </summary>
		/// <returns></returns>
		string ToString();
	}
}
